export default {
  data() {
    return {
      tableData: [],
      // 双项绑定search
      searchForm: {},
      tableLoading: false
    }
  },
  methods: {
    // 重置
    resetForm(searchForm = {}) {
      this.searchForm = searchForm
      this.query(searchForm)
    },
    // 查询
    query(searchForm) {
      this.getTableData(searchForm)
    }
  }
}
